<ion-view cache-view="false" hide-back-button="true" title="二手市场">
  <ion-nav-buttons side="left">
    <button class="button button-clear" ng-click="goBack()">
      <i class="icon ion-chevron-left"></i>
    </button>
  </ion-nav-buttons>
  <ion-nav-buttons side="right">
    <a class="button button-clear" ui-sref="form.addsecond">
      <!-- <i class="icon ion-ios-plus-outline"></i> -->
      我要发布
    </a>
  </ion-nav-buttons>
  <ion-content>
    <div class="list">
      <div class="item" ng-repeat="second in seconds" ui-sref="form.secondhand({id: second.secondhand_product_id})">
        <p style="font-size: 16px; white-space:normal ">{{second.content}}</p>
        <div class="row" ng-if="second.imgurl1">
          <div class="col col-33" ng-if="second.imgurl1">
            <img alt="" ng-src="{{second.imgurl1}}" style="width: 100%; max-height: 90px">
          </div>
          <div class="col col-33" ng-if="second.imgurl2">
            <img alt="" ng-src="{{second.imgurl2}}" style="width: 100%; max-height: 90px">
          </div>
          <div class="col col-33" ng-if="second.imgurl3">
            <img alt="" ng-src="{{second.imgurl3}}" style="width: 100%; max-height: 90px">
          </div>
        </div>
        <p style="font-size: 13px; white-space:normal">{{second.user.name}}
          {{second.createtime}}</p>
      </div>
    </div>
  </ion-content>
</ion-view>
